package org.example.myleet.p1332;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.removePalindromeSub("ababa"));
        Assert.isTrue(2 == solution.removePalindromeSub("baaabb"));
        Assert.isTrue(2 == solution.removePalindromeSub("abb"));
        Assert.isTrue(2 == solution.removePalindromeSub("baabb"));
        Assert.isTrue(2 == solution.removePalindromeSub("baaabbbbab"));
        Assert.isTrue(1 == solution.removePalindromeSub("bab"));
    }
}
